package com.qd.panda.service.space;

/**
 * 〈一句话功能简述〉<br>
 *
 * @author sjk
 * @create 2023-08-14 16:19
 * @since 1.0.0
 */
public class StateUtilService {
    private StateUtilService(){

    }
    public static final int STATE_1 = 1;
    public static final int STATE_2 = 2;
    public static final int STATE_3 = 3;


    public static String idToDisplay(int state) {
        if (state == STATE_1) {
            return "运行中";
        }
        if (state == STATE_2) {
            return "停运中";
        }
        if (state == STATE_3) {
            return "已租赁";
        }
        return "";
    }
}